<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
		<meta http-equiv="Cache-Control" content="no-store"/>
		<meta http-equiv="Pragma" content="no-cache"/>
		<meta http-equiv="Expires" content="0"/>
		<title>testRadio</title>
	
		<link rel="stylesheet" type="text/css" href="itreasury/easyui_themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="itreasury/easyui_themes/icon.css">
		<link rel="stylesheet" type="text/css" href="itreasury/css/suggest.css">
		<script type="text/javascript" src="itreasury/js/jquery-1.8.0.min.js"></script>
		<script type="text/javascript" src="itreasury/js/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="itreasury/js/locale/easyui-lang-zh_CN.js"></script>
		<script type="text/JavaScript" src="itreasury/js/json.min.js"></script>
		<script type="text/JavaScript" src="itreasury/js/jquery.bgiframe.min.js"></script>
		<script type="text/JavaScript" src="itreasury/js/jquery.actual.min.js"></script>
		<script type="text/JavaScript" src="itreasury/js/jquery.dropshadow.js"></script>
		<script type="text/JavaScript" src="itreasury/js/form_text_amount.js"></script>
		<script type="text/JavaScript" src="itreasury/js/form_text_rate.js"></script>
		<script type="text/JavaScript" src="itreasury/js/arabia_to_chinese.js"></script>
		<script type="text/JavaScript" src="itreasury/js/form_magnifier.js"></script>
		<script type="text/JavaScript" src="itreasury/js/Math.uuid.js"></script>
		<script type="text/JavaScript" src="itreasury/js/datacheck_formvalidate.js"></script>
		<script type="text/JavaScript" src="itreasury/js/datacheck_comparedate.js"></script>
		<script type="text/JavaScript" src="itreasury/js/utils.js"></script>
	</head>

	<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
		<form name="form1" id="form1" action="" method="post">
			
			
					<table width="100%">
						<tbody>
							<tr>
								<td>
									<input type="radio" id="radio1" name="testRadio" value="0"/>0
									<input type="radio" id="radio2" name="testRadio" value="1"/>1
								</td>
							</tr>
							<tr>
								<td>
									<input type="text" id="changeinput" name="changeinput"/>
								</td>
							</tr>
							
						</tbody>
					</table>
		</form>
		<script type="text/javascript">
			$(document).ready(function() {
				$(':radio[name="testRadio"]').bind('click',function(){
					
					if($(this).val()==1) {
						alert(1);
					}
					else if($(this).val()==0){
						alert(0);
					}
					
				});
				$('#changeinput').bind('change',function(){
					$(':radio[name="testRadio"][checked="checked"]').click();
						
				});
				
			});
		</script>
	</body>
</html>